#!usr/bin/env python  
# -*- coding:utf-8 -*-
""" 
@author:robot
@file: factorial.py 
@version:
@time: 2024/01/15 
"""


def factorial(n):
    if n == 1:
        return 1
    else:
        return factorial(n - 1) * n


print(factorial(10))
